#ifndef __CSTATELOGO_H__
#define __CSTATELOGO_H__

#include <d3d9.h>
#include <d3dx9.h>
#include "CState.h"

#include "Resource.h"
#include "Mario.h"
#include "Camera.h"

class CStateLogo: public CState
{
public:
	CStateLogo();
	~CStateLogo() {}

	void Init();
	void Update();
	void Render();
	void Exit();

	void LoadResources(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer);
	void Render(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, int Delta);
	void update(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, int Delta);
private:
	int m_iCount;

	LPD3DXSPRITE _spriteHandler;	// SpriteHandler to draw texture
	Mario* _mario;
	Camera *camera;
};
#endif